import Layout from "@/layout/index.vue";

export default [
  {
    path: "/sysManagement",
    component: Layout,
    children: [
      {
        path: "menu",
        name: "MenuManagement",
        meta: {
          title: "菜单管理"
        },
        component: () => import("@/views/management/system/MenuManagement.vue")
      },
      {
        path: "role",
        name: "RoleManagement",
        meta: {
          title: "角色管理"
        },
        component: () => import("@/views/management/system/Role.vue")
      }
    ]
  },
  {
    path: "/classManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "ClassManagement",
        meta: {
          title: "班级管理"
        },
        component: () => import("@/views/management/class/index.vue")
      }
    ]
  },
  {
    path: "/orgManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "OrgManagement",
        meta: {
          title: "机构管理"
        },
        component: () => import("@/views/management/organization/index.vue")
      }
    ]
  },
  {
    path: "/techManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "TechManagement",
        meta: {
          title: "教师管理"
        },
        component: () => import("@/views/management/teacher/index.vue")
      }
    ]
  },
  {
    path: "/queBankManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "QueBankManagement",
        meta: {
          title: "题库管理"
        },
        component: () => import("@/views/management/questionBank/index.vue")
      }
    ]
  },
  {
    path: "/stuQueBankManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "StuQueBankManagement",
        meta: {
          title: "学生题库管理"
        },
        component: () => import("@/views/management/stuQueBank/index.vue")
      }
    ]
  },
  {
    path: "/subjectManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "subjectManagement",
        meta: {
          title: "科目管理"
        },
        component: () => import("@/views/management/subject/index.vue")
      }
    ]
  },
  {
    path: "/chapterManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "ChapterManagement",
        meta: {
          title: "章节管理"
        },
        component: () => import("@/views/management/chapter/index.vue")
      }
    ]
  },
  {
    path: "/analysis",
    component: Layout,
    children: [
      {
        path: "achievement",
        name: "AchievementManagement",
        meta: {
          title: "成绩管理"
        },
        component: () => import("@/views/analysis/achievement/index.vue")
      },
      {
        path: "examination",
        name: "ExaminationAnalysis",
        meta: {
          title: "考试分析"
        },
        component: () => import("@/views/analysis/examination/index.vue")
      },
      {
        path: "practice",
        name: "PracticeManagement",
        meta: {
          title: "练习情况"
        },
        component: () => import("@/views/analysis/practice/index.vue")
      },
      {
        path: "study",
        name: "StudyManagement",
        meta: {
          title: "学习进度"
        },
        component: () => import("@/views/analysis/study/index.vue")
      }
    ]
  },
  {
    path: "/invigilator",
    component: Layout,
    children: [
      {
        path: "index",
        name: "Invigilator",
        meta: {
          title: "考生监考"
        },
        component: () => import("@/views/invigilator/index.vue")
      }
    ]
  },
  {
    path: "/coursewareManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "CoursewareManagement",
        meta: {
          title: "课件管理"
        },
        component: () => import("@/views/management/courseware/index.vue")
      }
    ]
  },
  {
    path: "/paperManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "PaperManagement",
        meta: {
          title: "试卷管理"
        },
        component: () => import("@/views/management/paper/index.vue")
      }
    ]
  },
  {
    path: "/questionManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "QuestionManagement",
        meta: {
          title: "题目管理"
        },
        component: () => import("@/views/management/question/index.vue")
      }
    ]
  },
  {
    path: "/studentManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "StudentManagement",
        meta: {
          title: "学生管理"
        },
        component: () => import("@/views/management/student/index.vue")
      }
    ]
  },
  {
    path: "/examManagement",
    component: Layout,
    children: [
      {
        path: "index",
        name: "ExamManagement",
        meta: {
          title: "考试管理"
        },
        component: () => import("@/views/management/examination/index.vue")
      }
    ]
  }
];
